//
//  Dictionary.swift
//  CXBaseUtil
//
//  Created by 李旭峰 on 2021/2/26.
//

import Foundation

public extension Dictionary {

    /**
    * An extension that add the elements of one dictionary to another
    */
    mutating func add(_ dictionary: [Key : Value]) {
        for (key, value) in dictionary {
             self[key] = value
        }
    }
}
